home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / develop™ Technical Journal / develop Issue 26 code / CustomAttribute.sit / CustomAttribute / IsAppRunning.c < prev    next >
MacBinary  |  1996-03-21  |  3.3 KB  |  [TEXT/CWIE]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert Compact Compressed (Unix) (archive/compact) ext Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Thu Mar 21 15:08:37 1996, modified Thu Mar 21 15:08:37 1996, creator 'CWIE', type ASCII, 2384 bytes "IsAppRunning.c" , at 0x9d0 738 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[CWIE]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0e 49 73 41 70 70 52 | 75 6e 6e 69 6e 67 2e 63 |..IsAppR|unning.c|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 57 49 | 45 01 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 09 50 00 | 00 02 e2 ad 77 67 c5 ad |......P.|....wg..|
|00000060| 77 67 c5 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |wg......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 bb a7 00 00 |........|........|
|00000080| 23 69 6e 63 6c 75 64 65 | 20 22 49 73 41 70 70 52 |#include| "IsAppR|
|00000090| 75 6e 6e 69 6e 67 2e 68 | 22 0d 0d 0d 2f 2f 20 63 |unning.h|"...// c|
|000000a0| 68 65 63 6b 20 74 6f 20 | 73 65 65 20 75 73 69 6e |heck to |see usin|
|000000b0| 67 20 74 68 65 20 70 72 | 6f 63 65 73 73 20 6d 61 |g the pr|ocess ma|
|000000c0| 6e 61 67 65 72 20 77 68 | 65 74 68 65 72 20 6f 75 |nager wh|ether ou|
|000000d0| 72 20 0d 2f 2f 20 74 61 | 72 67 65 74 20 61 70 70 |r .// ta|rget app|
|000000e0| 20 69 73 20 72 75 6e 6e | 69 6e 67 0d 0d 42 6f 6f | is runn|ing..Boo|
|000000f0| 6c 65 61 6e 20 49 73 41 | 70 70 52 75 6e 6e 69 6e |lean IsA|ppRunnin|
|00000100| 67 28 20 4f 53 54 79 70 | 65 20 74 61 72 67 65 74 |g( OSTyp|e target|
|00000110| 54 79 70 65 2c 0d 09 09 | 09 09 09 20 20 4f 53 54 |Type,...|... OST|
|00000120| 79 70 65 20 74 61 72 67 | 65 74 53 69 67 6e 61 74 |ype targ|etSignat|
|00000130| 75 72 65 2c 0d 09 09 09 | 09 09 20 20 50 72 6f 63 |ure,....|.. Proc|
|00000140| 65 73 73 53 65 72 69 61 | 6c 4e 75 6d 62 65 72 20 |essSeria|lNumber |
|00000150| 2a 74 61 72 67 65 74 50 | 53 4e 2c 20 0d 09 09 09 |*targetP|SN, ....|
|00000160| 09 09 20 20 50 72 6f 63 | 65 73 73 49 6e 66 6f 52 |.. Proc|essInfoR|
|00000170| 65 63 20 2a 74 61 72 67 | 65 74 50 49 52 65 63 2c |ec *targ|etPIRec,|
|00000180| 20 0d 09 09 09 09 09 20 | 20 53 74 72 69 6e 67 50 | ...... | StringP|
|00000190| 74 72 20 74 61 72 67 65 | 74 4e 61 6d 65 20 29 0d |tr targe|tName ).|
|000001a0| 7b 0d 09 0d 09 2f 2f 20 | 77 65 20 77 61 6e 74 20 |{....// |we want |
|000001b0| 74 6f 20 72 65 74 75 72 | 6e 20 74 68 65 20 50 53 |to retur|n the PS|
|000001c0| 4e 20 69 66 20 74 68 65 | 72 65 20 69 73 20 6f 6e |N if the|re is on|
|000001d0| 65 0d 09 2f 2f 20 77 65 | 20 77 61 6e 74 20 74 6f |e..// we| want to|
|000001e0| 20 72 65 74 75 72 6e 20 | 74 68 65 20 50 72 6f 63 | return |the Proc|
|000001f0| 20 49 6e 66 6f 20 52 65 | 63 20 69 66 20 74 68 65 | Info Re|c if the|
|00000200| 72 65 20 69 73 20 6f 6e | 65 0d 09 2f 2f 20 77 65 |re is on|e..// we|
|00000210| 20 77 69 6c 6c 20 72 65 | 74 75 72 6e 20 74 72 75 | will re|turn tru|
|00000220| 65 20 69 66 20 77 65 20 | 66 6f 75 6e 64 20 6f 75 |e if we |found ou|
|00000230| 72 20 41 70 70 0d 09 2f | 2f 20 66 61 6c 73 65 20 |r App../|/ false |
|00000240| 69 66 20 69 74 20 77 61 | 73 6e 27 74 20 72 75 6e |if it wa|sn't run|
|00000250| 6e 69 6e 67 2e 0d 09 0d | 09 2f 2f 20 77 65 20 6e |ning....|.// we n|
|00000260| 65 65 64 20 74 6f 20 6c | 6f 6f 70 20 74 68 72 6f |eed to l|oop thro|
|00000270| 75 67 68 20 61 6c 6c 20 | 74 68 65 20 72 75 6e 6e |ugh all |the runn|
|00000280| 69 6e 67 20 70 72 6f 63 | 65 73 73 65 73 20 61 6e |ing proc|esses an|
|00000290| 64 20 0d 09 2f 2f 20 66 | 69 6e 64 20 6f 6e 65 20 |d ..// f|ind one |
|000002a0| 74 68 61 74 20 6c 6f 6f | 6b 73 20 6c 69 6b 65 20 |that loo|ks like |
|000002b0| 6f 75 72 20 62 61 63 6b | 67 72 6f 75 6e 64 20 74 |our back|ground t|
|000002c0| 61 73 6b 2e 0d 09 0d 09 | 2f 2f 20 54 68 69 73 20 |ask.....|// This |
|000002d0| 69 73 20 61 6c 6c 20 73 | 74 61 6e 64 61 72 64 20 |is all s|tandard |
|000002e0| 73 74 75 66 66 20 2d 20 | 73 65 65 20 49 4d 20 50 |stuff - |see IM P|
|000002f0| 72 6f 63 65 73 73 20 4d | 61 6e 61 67 65 72 2c 20 |rocess M|anager, |
|00000300| 70 61 67 65 20 32 2d 36 | 0d 09 0d 09 74 61 72 67 |page 2-6|....targ|
|00000310| 65 74 50 53 4e 2d 3e 68 | 69 67 68 4c 6f 6e 67 4f |etPSN->h|ighLongO|
|00000320| 66 50 53 4e 20 3d 20 30 | 20 3b 0d 09 74 61 72 67 |fPSN = 0| ;..targ|
|00000330| 65 74 50 53 4e 2d 3e 6c | 6f 77 4c 6f 6e 67 4f 66 |etPSN->l|owLongOf|
|00000340| 50 53 4e 20 3d 20 6b 4e | 6f 50 72 6f 63 65 73 73 |PSN = kN|oProcess|
|00000350| 20 3b 0d 09 0d 09 2f 2f | 20 73 65 74 20 75 70 20 | ;....//| set up |
|00000360| 74 68 65 20 69 6e 66 6f | 20 72 65 63 6f 72 64 2c |the info| record,|
|00000370| 20 66 6f 72 20 74 68 65 | 20 63 61 6c 6c 20 74 6f | for the| call to|
|00000380| 20 67 65 74 20 70 72 6f | 63 65 73 73 20 69 6e 66 | get pro|cess inf|
|00000390| 6f 0d 09 74 61 72 67 65 | 74 50 49 52 65 63 2d 3e |o..targe|tPIRec->|
|000003a0| 70 72 6f 63 65 73 73 49 | 6e 66 6f 4c 65 6e 67 74 |processI|nfoLengt|
|000003b0| 68 20 3d 20 73 69 7a 65 | 6f 66 28 20 50 72 6f 63 |h = size|of( Proc|
|000003c0| 65 73 73 49 6e 66 6f 52 | 65 63 20 29 20 3b 0d 09 |essInfoR|ec ) ;..|
|000003d0| 74 61 72 67 65 74 50 49 | 52 65 63 2d 3e 70 72 6f |targetPI|Rec->pro|
|000003e0| 63 65 73 73 4e 61 6d 65 | 20 3d 20 74 61 72 67 65 |cessName| = targe|
|000003f0| 74 4e 61 6d 65 20 3b 09 | 2f 2f 20 74 68 65 20 6e |tName ;.|// the n|
|00000400| 61 6d 65 20 77 69 6c 6c | 20 62 65 20 70 75 74 20 |ame will| be put |
|00000410| 69 6e 20 68 65 72 65 0d | 09 74 61 72 67 65 74 50 |in here.|.targetP|
|00000420| 49 52 65 63 2d 3e 70 72 | 6f 63 65 73 73 41 70 70 |IRec->pr|ocessApp|
|00000430| 53 70 65 63 20 3d 20 6e | 69 6c 20 3b 09 09 2f 2f |Spec = n|il ;..//|
|00000440| 20 77 65 20 64 6f 20 6e | 6f 74 20 63 61 72 65 20 | we do n|ot care |
|00000450| 61 62 6f 75 74 20 74 68 | 65 20 6c 6f 63 61 74 69 |about th|e locati|
|00000460| 6f 6e 20 6f 66 20 74 68 | 65 20 61 70 70 0d 09 0d |on of th|e app...|
|00000470| 09 2f 2f 20 72 69 67 68 | 74 2c 20 6c 6f 6f 70 20 |.// righ|t, loop |
|00000480| 74 68 72 6f 75 67 68 20 | 74 68 65 20 72 75 6e 6e |through |the runn|
|00000490| 69 6e 67 20 70 72 6f 63 | 65 73 73 65 73 0d 09 77 |ing proc|esses..w|
|000004a0| 68 69 6c 65 28 20 47 65 | 74 4e 65 78 74 50 72 6f |hile( Ge|tNextPro|
|000004b0| 63 65 73 73 28 20 74 61 | 72 67 65 74 50 53 4e 20 |cess( ta|rgetPSN |
|000004c0| 29 20 3d 3d 20 6e 6f 45 | 72 72 20 29 20 7b 0d 09 |) == noE|rr ) {..|
|000004d0| 0d 09 09 69 66 28 20 47 | 65 74 50 72 6f 63 65 73 |...if( G|etProces|
|000004e0| 73 49 6e 66 6f 72 6d 61 | 74 69 6f 6e 28 20 74 61 |sInforma|tion( ta|
|000004f0| 72 67 65 74 50 53 4e 2c | 20 74 61 72 67 65 74 50 |rgetPSN,| targetP|
|00000500| 49 52 65 63 20 29 20 3d | 3d 20 6e 6f 45 72 72 20 |IRec ) =|= noErr |
|00000510| 29 20 7b 0d 09 09 09 0d | 09 09 09 69 66 28 20 74 |) {.....|...if( t|
|00000520| 61 72 67 65 74 50 49 52 | 65 63 2d 3e 70 72 6f 63 |argetPIR|ec->proc|
|00000530| 65 73 73 54 79 70 65 20 | 3d 3d 20 74 61 72 67 65 |essType |== targe|
|00000540| 74 54 79 70 65 20 0d 09 | 09 09 09 26 26 20 74 61 |tType ..|...&& ta|
|00000550| 72 67 65 74 50 49 52 65 | 63 2d 3e 70 72 6f 63 65 |rgetPIRe|c->proce|
|00000560| 73 73 53 69 67 6e 61 74 | 75 72 65 20 3d 3d 20 74 |ssSignat|ure == t|
|00000570| 61 72 67 65 74 53 69 67 | 6e 61 74 75 72 65 20 29 |argetSig|nature )|
|00000580| 0d 09 09 09 09 0d 09 09 | 09 09 72 65 74 75 72 6e |........|..return|
|00000590| 20 74 72 75 65 20 3b 0d | 09 09 7d 0d 09 7d 0d 09 | true ;.|..}..}..|
|000005a0| 72 65 74 75 72 6e 20 66 | 61 6c 73 65 20 3b 0d 7d |return f|alse ;.}|
|000005b0| 0d 0d 0d 2f 2f 20 73 65 | 61 72 63 68 20 69 6e 20 |...// se|arch in |
|000005c0| 74 68 65 20 64 65 73 6b | 74 6f 70 20 64 61 74 61 |the desk|top data|
|000005d0| 62 61 73 65 20 66 6f 72 | 20 74 68 65 20 61 70 70 |base for| the app|
|000005e0| 20 73 6f 20 74 68 61 74 | 20 77 65 20 63 61 6e 20 | so that| we can |
|000005f0| 6c 61 75 6e 63 68 20 69 | 74 0d 4f 53 45 72 72 20 |launch i|t.OSErr |
|00000600| 4c 61 75 6e 63 68 41 70 | 70 28 20 4f 53 54 79 70 |LaunchAp|p( OSTyp|
|00000610| 65 20 74 61 72 67 65 74 | 53 69 67 6e 61 74 75 72 |e target|Signatur|
|00000620| 65 29 0d 7b 0d 09 44 54 | 50 42 52 65 63 09 09 09 |e).{..DT|PBRec...|
|00000630| 09 74 68 65 44 61 74 61 | 62 61 73 65 20 3b 0d 09 |.theData|base ;..|
|00000640| 4c 61 75 6e 63 68 50 61 | 72 61 6d 42 6c 6f 63 6b |LaunchPa|ramBlock|
|00000650| 52 65 63 09 74 68 65 4c | 50 42 20 3b 0d 09 46 53 |Rec.theL|PB ;..FS|
|00000660| 53 70 65 63 09 09 09 09 | 74 61 72 67 65 74 46 53 |Spec....|targetFS|
|00000670| 53 70 65 63 20 3b 0d 09 | 4f 53 45 72 72 09 09 09 |Spec ;..|OSErr...|
|00000680| 09 65 72 72 20 3b 0d 09 | 0d 09 74 68 65 44 61 74 |.err ;..|..theDat|
|00000690| 61 62 61 73 65 2e 69 6f | 43 6f 6d 70 6c 65 74 69 |abase.io|Completi|
|000006a0| 6f 6e 20 3d 20 30 4c 20 | 3b 0d 09 74 68 65 44 61 |on = 0L |;..theDa|
|000006b0| 74 61 62 61 73 65 2e 69 | 6f 4e 61 6d 65 50 74 72 |tabase.i|oNamePtr|
|000006c0| 20 3d 20 30 4c 20 3b 0d | 09 74 68 65 44 61 74 61 | = 0L ;.|.theData|
|000006d0| 62 61 73 65 2e 69 6f 56 | 52 65 66 4e 75 6d 20 3d |base.ioV|RefNum =|
|000006e0| 20 2d 31 20 3b 09 2f 2f | 20 72 65 73 74 72 69 63 | -1 ;.//| restric|
|000006f0| 74 20 73 65 61 72 63 68 | 20 74 6f 20 62 6f 6f 74 |t search| to boot|
|00000700| 20 76 6f 6c 75 6d 65 20 | 6f 6e 6c 79 0d 09 0d 09 | volume |only....|
|00000710| 69 66 28 28 20 65 72 72 | 20 3d 20 50 42 44 54 47 |if(( err| = PBDTG|
|00000720| 65 74 50 61 74 68 28 20 | 26 74 68 65 44 61 74 61 |etPath( |&theData|
|00000730| 62 61 73 65 20 29 29 20 | 21 3d 20 6e 6f 45 72 72 |base )) |!= noErr|
|00000740| 20 29 0d 09 09 72 65 74 | 75 72 6e 20 65 72 72 20 | )...ret|urn err |
|00000750| 3b 0d 09 09 0d 09 74 68 | 65 44 61 74 61 62 61 73 |;.....th|eDatabas|
|00000760| 65 2e 69 6f 49 6e 64 65 | 78 20 3d 20 30 20 3b 0d |e.ioInde|x = 0 ;.|
|00000770| 09 74 68 65 44 61 74 61 | 62 61 73 65 2e 69 6f 46 |.theData|base.ioF|
|00000780| 69 6c 65 43 72 65 61 74 | 6f 72 20 3d 20 74 61 72 |ileCreat|or = tar|
|00000790| 67 65 74 53 69 67 6e 61 | 74 75 72 65 20 3b 0d 09 |getSigna|ture ;..|
|000007a0| 74 68 65 44 61 74 61 62 | 61 73 65 2e 69 6f 4e 61 |theDatab|ase.ioNa|
|000007b0| 6d 65 50 74 72 20 3d 20 | 28 53 74 72 69 6e 67 50 |mePtr = |(StringP|
|000007c0| 74 72 29 74 61 72 67 65 | 74 46 53 53 70 65 63 2e |tr)targe|tFSSpec.|
|000007d0| 6e 61 6d 65 20 20 3b 0d | 09 0d 09 69 66 28 28 20 |name ;.|...if(( |
|000007e0| 65 72 72 20 3d 20 50 42 | 44 54 47 65 74 41 50 50 |err = PB|DTGetAPP|
|000007f0| 4c 28 20 26 74 68 65 44 | 61 74 61 62 61 73 65 2c |L( &theD|atabase,|
|00000800| 20 66 61 6c 73 65 20 29 | 29 20 21 3d 20 6e 6f 45 | false )|) != noE|
|00000810| 72 72 29 0d 09 09 72 65 | 74 75 72 6e 20 65 72 72 |rr)...re|turn err|
|00000820| 20 3b 0d 09 09 0d 09 74 | 61 72 67 65 74 46 53 53 | ;.....t|argetFSS|
|00000830| 70 65 63 2e 76 52 65 66 | 4e 75 6d 20 09 3d 20 74 |pec.vRef|Num .= t|
|00000840| 68 65 44 61 74 61 62 61 | 73 65 2e 69 6f 56 52 65 |heDataba|se.ioVRe|
|00000850| 66 4e 75 6d 20 3b 0d 09 | 74 61 72 67 65 74 46 53 |fNum ;..|targetFS|
|00000860| 53 70 65 63 2e 70 61 72 | 49 44 20 09 09 3d 20 74 |Spec.par|ID ..= t|
|00000870| 68 65 44 61 74 61 62 61 | 73 65 2e 69 6f 41 50 50 |heDataba|se.ioAPP|
|00000880| 4c 50 61 72 49 44 20 3b | 0d 09 0d 09 74 68 65 4c |LParID ;|....theL|
|00000890| 50 42 2e 6c 61 75 6e 63 | 68 42 6c 6f 63 6b 49 44 |PB.launc|hBlockID|
|000008a0| 20 09 3d 20 65 78 74 65 | 6e 64 65 64 42 6c 6f 63 | .= exte|ndedBloc|
|000008b0| 6b 20 3b 0d 09 74 68 65 | 4c 50 42 2e 6c 61 75 6e |k ;..the|LPB.laun|
|000008c0| 63 68 45 50 42 4c 65 6e | 67 74 68 20 09 3d 20 65 |chEPBLen|gth .= e|
|000008d0| 78 74 65 6e 64 65 64 42 | 6c 6f 63 6b 4c 65 6e 20 |xtendedB|lockLen |
|000008e0| 3b 0d 09 74 68 65 4c 50 | 42 2e 6c 61 75 6e 63 68 |;..theLP|B.launch|
|000008f0| 46 69 6c 65 46 6c 61 67 | 73 20 09 3d 20 30 20 3b |FileFlag|s .= 0 ;|
|00000900| 0d 09 74 68 65 4c 50 42 | 2e 6c 61 75 6e 63 68 43 |..theLPB|.launchC|
|00000910| 6f 6e 74 72 6f 6c 46 6c | 61 67 73 20 3d 20 6c 61 |ontrolFl|ags = la|
|00000920| 75 6e 63 68 43 6f 6e 74 | 69 6e 75 65 20 2b 20 6c |unchCont|inue + l|
|00000930| 61 75 6e 63 68 4e 6f 46 | 69 6c 65 46 6c 61 67 73 |aunchNoF|ileFlags|
|00000940| 20 2b 20 6c 61 75 6e 63 | 68 55 73 65 4d 69 6e 69 | + launc|hUseMini|
|00000950| 6d 75 6d 20 3b 0d 09 74 | 68 65 4c 50 42 2e 6c 61 |mum ;..t|heLPB.la|
|00000960| 75 6e 63 68 41 70 70 53 | 70 65 63 20 09 3d 20 26 |unchAppS|pec .= &|
|00000970| 74 61 72 67 65 74 46 53 | 53 70 65 63 20 3b 0d 09 |targetFS|Spec ;..|
|00000980| 74 68 65 4c 50 42 2e 6c | 61 75 6e 63 68 41 70 70 |theLPB.l|aunchApp|
|00000990| 50 61 72 61 6d 65 74 65 | 72 73 20 3d 20 30 4c 20 |Paramete|rs = 0L |
|000009a0| 3b 0d 09 0d 09 72 65 74 | 75 72 6e 28 20 4c 61 75 |;....ret|urn( Lau|
|000009b0| 6e 63 68 41 70 70 6c 69 | 63 61 74 69 6f 6e 28 20 |nchAppli|cation( |
|000009c0| 26 74 68 65 4c 50 42 20 | 29 20 29 20 3b 0d 7d 0d |&theLPB |) ) ;.}.|
|000009d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a00| 00 00 01 00 00 00 02 54 | 00 00 01 54 00 00 00 8e |.......T|...T....|
|00000a10| 6d b3 b4 3f 72 20 0e 5a | 54 5a 4f 60 50 01 19 92 |m..?r .Z|TZO`P...|
|00000a20| 9d 68 4f 01 67 44 7f 7e | bf 57 72 50 01 04 e2 76 |.hO.gD.~|.WrP...v|
|00000a30| 0e 49 73 41 70 70 52 75 | 6e 6e 69 6e 67 2e 63 6e |.IsAppRu|nning.cn|
|00000a40| 02 00 00 00 54 45 58 54 | 43 57 49 45 01 00 00 00 |....TEXT|CWIE....|
|00000a50| 00 00 54 45 58 54 43 57 | 49 45 01 00 00 00 2a 80 |..TEXTCW|IE....*.|
|00000a60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a70| 00 00 a9 c8 70 e4 00 00 | 09 50 00 00 02 e2 15 30 |....p...|.P.....0|
|00000a80| 7b 63 72 12 48 e7 00 18 | 57 72 50 01 08 72 17 26 |{cr.H...|WrP..r.&|
|00000a90| 78 01 18 21 f8 02 a6 01 | 18 2d 4b ff fc 98 5a 4d |x..!....|.-K...ZM|
|00000aa0| 57 72 e5 c6 12 70 00 1f | 00 8b 11 3f 01 26 26 01 |Wr...p..|...?.&&.|
|00000ab0| 70 10 b3 12 70 00 2f 00 | 01 a9 54 12 28 5f 20 6e |p...p./.|..T.(_ n|
|00000ac0| 5b 01 a0 1b 12 2f 0c 4e | ad 02 01 f2 26 54 11 17 |[..../.N|....&T..|
|00000ad0| 7c 01 00 ff 54 2a 01 00 | fe c9 8d 12 4c ee 18 00 ||...T*..|....L...|
|00000ae0| 13 ff ec 4e 5e 4e 75 4b | 13 4e 56 ff f8 48 e7 12 |...N^NuK|.NV..H..|
|00000af0| 03 18 3e 2e 15 00 12 26 | 6e 00 0c 28 6e 00 08 55 |..>....&|n..(n..U|
|00000b00| 00 00 00 04 00 06 00 04 | 00 00 00 0a 00 0a 07 43 |........|.......C|
|00000b10| 6f 75 72 69 65 72 00 00 | 00 c6 00 05 00 3c 00 00 |ourier..|.....<..|
|00000b20| 04 51 00 22 00 a7 a3 c4 | 80 00 01 4a 00 8b 02 6c |.Q."....|...J...l|
|00000b30| 02 1c 94 20 00 00 00 00 | 00 00 1d 28 2a 74 61 72 |... ....|...(*tar|
|00000b40| 67 65 74 50 49 52 65 63 | 29 2e 70 72 6f 63 65 73 |getPIRec|).proces|
|00000b50| 73 4e 75 6d 62 65 72 20 | 00 2c 00 00 04 51 00 22 |sNumber |.,...Q."|
|00000b60| 00 a7 a3 50 80 00 01 22 | 01 a3 02 44 03 34 94 20 |...P..."|...D.4. |
|00000b70| 00 00 00 00 00 00 0d 2a | 74 61 72 67 65 74 50 49 |.......*|targetPI|
|00000b80| 52 65 63 20 00 1a 00 00 | 04 51 00 22 00 a7 a2 c0 |Rec ....|.Q."....|
|00000b90| 00 00 0b 74 61 72 67 65 | 74 50 49 52 65 63 00 2a |...targe|tPIRec.*|
|00000ba0| 00 00 04 51 00 22 00 a7 | a2 b0 80 00 00 fa 01 9b |...Q."..|........|
|00000bb0| 02 1c 03 2c 94 20 00 00 | 00 00 00 00 0b 2a 74 61 |...,. ..|.....*ta|
|00000bc0| 72 67 65 74 50 53 4e 20 | 00 18 00 00 04 51 00 22 |rgetPSN |.....Q."|
|00000bd0| 00 a7 a2 3c 00 00 09 74 | 61 72 67 65 74 50 53 4e |...<...t|argetPSN|
|00000be0| 00 00 00 1c 01 01 ff ff | ff ff ff ff 00 00 08 20 |........|....... |
|00000bf0| 00 01 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c00| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00000c10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c20| 00 00 00 00 00 00 00 03 | 00 04 00 57 00 03 02 60 |........|...W...`|
|00000c30| 03 02 00 57 00 03 02 60 | 03 02 ac ce 7c 67 00 00 |...W...`|....|g..|
|00000c40| 05 7a 00 00 05 a3 00 00 | 04 98 01 00 00 00 00 04 |.z......|........|
|00000c50| 00 01 00 01 00 00 01 00 | 00 00 02 54 00 00 01 54 |........|...T...T|
|00000c60| 00 00 00 8e 02 1c 48 28 | 14 92 00 00 00 1c 00 8e |......H(|........|
|00000c70| 00 04 45 54 41 42 00 00 | 00 2a 45 46 4e 54 00 00 |..ETAB..|.*EFNT..|
|00000c80| 00 36 44 54 56 55 00 00 | 00 42 4d 50 53 52 00 01 |.6DTVU..|.BMPSR..|
|00000c90| 00 4e 4d 57 42 42 00 00 | 00 66 03 ec ff ff 00 00 |.NMWBB..|.f......|
|00000ca0| 00 00 00 00 00 00 03 eb | ff ff 00 00 00 08 00 00 |........|........|
|00000cb0| 00 00 41 58 ff ff 00 00 | 00 16 00 00 00 00 27 10 |..AX....|......'.|
|00000cc0| ff ff 00 00 00 e0 00 00 | 00 00 03 ed ff ff 00 00 |........|........|
|00000cd0| 01 00 00 00 00 00 03 f0 | ff ff 00 00 01 4c 00 00 |........|.....L..|
|00000ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+